package io.bdmc.modules.bss.service;

import java.util.HashMap;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import io.bdmc.common.utils.MyPage;
import io.bdmc.modules.bss.entity.DeviceMeasure;
import io.bdmc.modules.bss.model.DeviceMeasureParam;

/**
 * <p>
 * 设备测试 服务类
 * </p>
 *
 * @author ping
 * @since 2020-06-30
 */
public interface IDeviceMeasureService extends IService<DeviceMeasure> {

	MyPage<DeviceMeasure> mySelectPage(MyPage<DeviceMeasure> myPage, DeviceMeasureParam params);

	MyPage<DeviceMeasure> mySelectPageFor1U(MyPage<DeviceMeasure> myPage, DeviceMeasureParam params);

	MyPage<DeviceMeasure> mySelectPage1(MyPage<DeviceMeasure> myPage, DeviceMeasureParam params);

	List<DeviceMeasure> exportList(DeviceMeasureParam params);

	List<DeviceMeasure> exportListFor1U(DeviceMeasureParam params);

	List<HashMap<String, Object>> selectForLine(DeviceMeasureParam param);

	Boolean setStandardMeasure(DeviceMeasure oldStandMeasure);

	DeviceMeasure getStandardByRouteAndChannel(Integer routeId,Integer channel);
}
